package com.wbt.entity;

import java.io.Serializable;

/**
 * @program: Thread-demo
 * @description:
 * @author: Wang·Baotong
 * @create: 2021-05-08 15:24
 */

public class Test implements Serializable {
    private static final long serialVersionUID = -7680991788217947646L;

    private String name;

    private Integer age;

    private String data;

    private User user;

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "Test{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", data='" + data + '\'' +
                ", user=" + user +
                '}';
    }
}
